<form class="layui-form layui-form-pane" lay-filter="FormBaseConstRegionEdit" action="/base/const/region/edit">
    <input type="hidden" id="id" name="id" th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','地区类型(*)','regionType','layui-col-md6',32,'required',${entity.regionType})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','父ID(*)','parentId','layui-col-md6',32,'required',${entity.parentId})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','地区编码(*)','regionCode','layui-col-md6',32,'required',${entity.regionCode})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','地区名称(*)','regionName','layui-col-md6',32,'required',${entity.regionName})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','关联编号','mappindCode','layui-col-md6',32,'',${entity.mappindCode})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>